Resource URL: /platform/<<version=3>>/local/cluster/nodes/<LNN>/state/servicelight

    Overview: This resource applies the standard collection pattern to
              individual nodes.  LNN in the resource path is the node lnn ID.

     Methods: GET, PUT

********************************************************************************

Method GET: Retrieve node service light state information.

       URL: GET
            /platform/<<version=3>>/local/cluster/nodes/<LNN>/state/servicelight

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "nodes": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "Node service light state.", 
            "properties": {
              "valid": {
                "type": "boolean", 
                "description": "The node service light state is valid (False = Error)."
              }, 
              "supported": {
                "type": "boolean", 
                "description": "This node supports a service light."
              }, 
              "enabled": {
                "required": true, 
                "type": "boolean", 
                "description": "The node service light state (True = on)."
              }, 
              "lnn": {
                "type": "integer", 
                "description": "Logical Node Number (LNN) of this node."
              }, 
              "id": {
                "type": "integer", 
                "description": "Node ID (Device Number) of this node."
              }, 
              "present": {
                "type": "boolean", 
                "description": "This node has a service light."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "total": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Total number of items available.", 
          "maximum": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify one or more node service light state settings.

       URL: PUT
            /platform/<<version=3>>/local/cluster/nodes/<LNN>/state/servicelight

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "Node service light state.", 
  "properties": {
    "supported": {
      "type": "boolean", 
      "description": "This node supports a service light."
    }, 
    "enabled": {
      "type": "boolean", 
      "description": "The node service light state (True = on)."
    }, 
    "valid": {
      "type": "boolean", 
      "description": "The node service light state is valid (False = Error)."
    }, 
    "present": {
      "type": "boolean", 
      "description": "This node has a service light."
    }
  }
}

There is no JSON response body for this method.
